Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce a composite tag for monitor #19944

Merged
merged 3 commits into from
Jul 28, 2022

Conversation

ArcturusZhang
Copy link
Member

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following appy to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.

Please follow the link to find more details on PR review process.

@openapi-workflow-bot
Copy link

Hi, @ArcturusZhang Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 26, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.
    compared tags (via openapi-validator v1.13.0) new version base version
    package-composite-v1 package-composite-v1(ca3d6ed) default(main)
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/monitor/resource-manager/readme.md
    tag: specification/monitor/resource-manager/readme.md#tag-package-composite-v1
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️❌SDK Track2 Validation: 8 Errors, 0 Warnings failed [Detail]
    • The following tags are being changed in this PR
      • "https://github.com/Azure/azure-rest-api-specs/blob/ca3d6edc8102728de7c4f6b1b185a01b7589b8c2/specification/monitor/resource-manager/readme.md#tag-package-composite-v1">monitor/resource-manager/readme.md#package-composite-v1
    The following errors/warnings are introduced by current PR:
    Rule Message
    PreCheck/DuplicateSchema "readme":"monitor/resource-manager/readme.md",
    "tag":"package-composite-v1",
    "details":"Duplicate Schema named 'Resource' (2 differences):\n - properties.tags.description: "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters." => "Resource tags"\n - properties.systemData: "readOnly":true,
    "description":"The system metadata related to the response.",
    "$ref":"#/components/schemas/schemas:1048" =>; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"monitor/resource-manager/readme.md",
    "tag":"package-composite-v1",
    "details":"Duplicate Schema named 'Resource' (4 differences):\n - properties.tags.description: "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters." => "Resource tags"\n - properties.systemData: "readOnly":true,
    "description":"The system metadata related to the response.",
    "$ref":"#/components/schemas/schemas:1048" =>\n - properties.kind: => "$ref":"#/components/schemas/schemas:644",
    "description":"Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported,
    the resource provider must validate and persist this value.",
    "readOnly":true\n - properties.etag: => "$ref":"#/components/schemas/schemas:645",
    "description":"The etag field is not required. If it is provided in the response body,
    it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19),
    If-Match (section 14.24),
    If-None-Match (section 14.26),
    and If-Range (section 14.27) header fields. ",
    "readOnly":true; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"monitor/resource-manager/readme.md",
    "tag":"package-composite-v1",
    "details":"Duplicate Schema named 'Resource' (8 differences):\n - properties.id.description: "Azure resource Id" => "Fully qualified resource ID for the resource. Ex - /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/resourceProviderNamespace/resourceType/resourceName"\n - properties.name.description: "Azure resource name" => "The name of the resource"\n - properties.type.description: "Azure resource type" => "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\""\n - properties.location: "x-ms-mutability":["create",
    "read"],
    "$ref":"#/components/schemas/schemas:58",
    "description":"Resource location" =>\n - properties.tags: "$ref":"#/components/schemas/schemas:59",
    "description":"Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters." =>\n - properties.systemData: "readOnly":true,
    "description":"The system metadata related to the response.",
    "$ref":"#/components/schemas/schemas:1048" =>\n - required: ["location"] =>\n - title: => "Resource"; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"monitor/resource-manager/readme.md",
    "tag":"package-composite-v1",
    "details":"Duplicate Schema named 'ErrorResponse' (6 differences):\n - properties.code.$ref: "#/components/schemas/schemas:111" => "#/components/schemas/schemas:811"\n - properties.code.description: "Error code" => "The error code."\n - properties.code.readOnly: => true\n - properties.message.$ref: "#/components/schemas/schemas:112" => "#/components/schemas/schemas:812"\n - properties.message.description: "Error message indicating why the operation failed." => "The error message indicating why the operation failed."\n - properties.message.readOnly: => true; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"monitor/resource-manager/readme.md",
    "tag":"package-composite-v1",
    "details":"Duplicate Schema named 'AzureResource' (9 differences):\n - properties.id.description: "Azure resource Id" => "The resource Id."\n - properties.name.description: "Azure resource name" => "The name of the resource."\n - properties.type.description: "Azure resource type" => "The type of the resource."\n - properties.location.x-ms-mutability.0: "create" => "read"\n - properties.location.x-ms-mutability.1: "read" => "create"\n - properties.location.$ref: "#/components/schemas/schemas:248" => "#/components/schemas/schemas:780"\n - properties.location.description: "Resource location" => "The location of the resource. Since Azure Activity Log Alerts is a global service,
    the location of the rules should always be 'global'."\n - properties.tags.description: "Resource tags" => "The tags of the resource."\n - required: ["location"] =>; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"monitor/resource-manager/readme.md",
    "tag":"package-composite-v1",
    "details":"Duplicate Schema named 'ActionGroup' (17 differences):\n - properties.groupShortName: "$ref":"#/components/schemas/schemas:284",
    "description":"The short name of the action group. This will be used in SMS messages." =>\n - properties.enabled: "type":"boolean",
    "default":true,
    "description":"Indicates whether this action group is enabled. If an action group is not enabled,
    then none of its receivers will receive communications." =>\n - properties.emailReceivers: "x-ms-identifiers":[],
    "$ref":"#/components/schemas/schemas:285",
    "description":"The list of email receivers that are part of this action group." =>\n - properties.smsReceivers: "x-ms-identifiers":[],
    "$ref":"#/components/schemas/schemas:286",
    "description":"The list of SMS receivers that are part of this action group." =>\n - properties.webhookReceivers: "x-ms-identifiers":[],
    "$ref":"#/components/schemas/schemas:287",
    "description":"The list of webhook receivers that are part of this action group." =>\n - properties.itsmReceivers: "x-ms-identifiers":[],
    "$ref":"#/components/schemas/schemas:288",
    "description":"The list of ITSM receivers that are part of this action group." =>\n - properties.azureAppPushReceivers: "x-ms-identifiers":[],
    "$ref":"#/components/schemas/schemas:289",
    "description":"The list of AzureAppPush receivers that are part of this action group." =>\n - properties.automationRunbookReceivers: "x-ms-identifiers":[],
    "$ref":"#/components/schemas/schemas:290",
    "description":"The list of AutomationRunbook receivers that are part of this action group." =>\n - properties.voiceReceivers: "x-ms-identifiers":[],
    "$ref":"#/components/schemas/schemas:291",
    "description":"The list of voice receivers that are part of this action group." =>\n - properties.logicAppReceivers: "x-ms-identifiers":[],
    "$ref":"#/components/schemas/schemas:292",
    "description":"The list of logic app receivers that are part of this action group." =>\n - properties.azureFunctionReceivers: "x-ms-identifiers":[],
    "$ref":"#/components/schemas/schemas:293",
    "description":"The list of azure function receivers that are part of this action group." =>\n - properties.armRoleReceivers: "x-ms-identifiers":[],
    "$ref":"#/components/schemas/schemas:294",
    "description":"The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported." =>\n - properties.eventHubReceivers: "x-ms-identifiers":[],
    "$ref":"#/components/schemas/schemas:295",
    "description":"The list of event hub receivers that are part of this action group." =>\n - properties.actionGroupId: => "$ref":"#/components/schemas/schemas:803",
    "description":"The resource ID of the Action Group. This cannot be null or empty."\n - properties.webhookProperties: => "$ref":"#/components/schemas/schemas:804",
    "description":"the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload."\n - required.0: "groupShortName" => "actionGroupId"\n - required.1: "enabled" =>; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    PreCheck/DuplicateSchema "readme":"monitor/resource-manager/readme.md",
    "tag":"package-composite-v1",
    "details":"Duplicate Schema named 'ProxyResource' (4 differences):\n - properties: "id":"$ref":"#/components/schemas/schemas:718",
    "description":"Azure resource Id",
    "readOnly":true,
    "name":"$ref":"#/components/schemas/schemas:719",
    "description":"Azure resource name",
    "readOnly":true,
    "type":"$ref":"#/components/schemas/schemas:720",
    "description":"Azure resource type",
    "readOnly":true =>\n - x-ms-azure-resource: true =>\n - title: => "Proxy Resource"\n - allOf: => ["$ref":"#/components/schemas/schemas:973"]; This error can be temporarily avoided by using the 'modelerfour.lenient-model-deduplication' setting. NOTE: This setting will be removed in a future version of @autorest/modelerfour; schemas should be updated to fix this issue sooner than that."
    "readme":"monitor/resource-manager/readme.md",
    "tag":"package-composite-v1",
    "details":"Error: 7 errors occured -- cannot continue."
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 26, 2022

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    azure-sdk-for-go - armmonitor - Approved - 0.8.0
    +	Field `NextLink` of struct `PrivateEndpointConnectionListResult` has been removed
    +	Field `NextLink` of struct `PrivateLinkResourceListResult` has been removed
    +	Function `*DiagnosticSettingsCategoryClient.List` has been removed
    +	Function `*DiagnosticSettingsClient.List` has been removed
    +	Function `*PrivateEndpointConnectionsClient.NewListByPrivateLinkScopePager` has been removed
    +	Function `*PrivateLinkResourcesClient.NewListByPrivateLinkScopePager` has been removed
    +	Struct `ErrorResponseCommon` has been removed
    +	Struct `PrivateEndpointProperty` has been removed
    +	Struct `PrivateLinkScopesResource` has been removed
    +	Struct `PrivateLinkServiceConnectionStateProperty` has been removed
    +	Struct `ProxyOnlyResource` has been removed
    +	Type of `OperationStatus.Error` has been changed from `*ErrorResponseCommon` to `*ErrorDetail`
    +	Type of `PrivateEndpointConnectionProperties.PrivateEndpoint` has been changed from `*PrivateEndpointProperty` to `*PrivateEndpoint`
    +	Type of `PrivateEndpointConnectionProperties.PrivateLinkServiceConnectionState` has been changed from `*PrivateLinkServiceConnectionStateProperty` to `*PrivateLinkServiceConnectionState`
    +	Type of `PrivateEndpointConnectionProperties.ProvisioningState` has been changed from `*string` to `*PrivateEndpointConnectionProvisioningState`
    ️✔️azure-sdk-for-python-track2 - track2_azure-mgmt-monitor - Approved - 3.1.0
    azure-sdk-for-js - @azure/arm-monitor - Approved - 8.0.0-beta.2
    +	Delete parameters of PrivateLinkScopesResource in TypeAlias AzureMonitorPrivateLinkScope
    +	Delete parameters of ProxyOnlyResource in TypeAlias DiagnosticSettingsCategoryResource
    +	Delete parameters of ProxyOnlyResource in TypeAlias DiagnosticSettingsResource
    +	Delete parameters of ProxyResource in TypeAlias PrivateEndpointConnection
    +	Delete parameters of ProxyResource in TypeAlias PrivateLinkResource
    +	Delete parameters of ProxyResource in TypeAlias ScopedResource
    +	Interface PrivateEndpointConnectionListResult no longer has parameter nextLink
    +	Interface PrivateLinkResourceListResult no longer has parameter nextLink
    +	Type Alias AzureMonitorPrivateLinkScope has a new parameter accessModeSettings
    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 3d2904e. SDK Automation 14.0.0
      command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
      warn	File azure-sdk-for-net_tmp/initOutput.json not found to read
      command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
    • ️✔️Azure.ResourceManager.Monitor [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 3d2904e. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh] WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
    • ️✔️track2_azure-mgmt-monitor [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation ActionGroupsOperations.begin_create_notifications_at_action_group_resource_level
      info	[Changelog]   - Added operation ActionGroupsOperations.begin_create_notifications_at_resource_group_level
      info	[Changelog]   - Added operation ActionGroupsOperations.get_test_notifications_at_action_group_resource_level
      info	[Changelog]   - Added operation ActionGroupsOperations.get_test_notifications_at_resource_group_level
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Model ActionGroupResource no longer has parameter identity
      info	[Changelog]   - Model ActionGroupResource no longer has parameter kind
      info	[Changelog]   - Model AzureResource no longer has parameter identity
      info	[Changelog]   - Model AzureResource no longer has parameter kind
      info	[Changelog]   - Removed operation group BaselineOperations
      info	[Changelog]   - Removed operation group MetricBaselineOperations
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 3d2904e. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️armmonitor [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Function `*DataCollectionRuleAssociationsClient.Create` parameter(s) have been changed from `(context.Context, string, string, *DataCollectionRuleAssociationsClientCreateOptions)` to `(context.Context, string, string, DataCollectionRuleAssociationProxyOnlyResource, *DataCollectionRuleAssociationsClientCreateOptions)`
      info	[Changelog] - Function `*DataCollectionRulesClient.Create` parameter(s) have been changed from `(context.Context, string, string, *DataCollectionRulesClientCreateOptions)` to `(context.Context, string, string, DataCollectionRuleResource, *DataCollectionRulesClientCreateOptions)`
      info	[Changelog] - Function `*DataCollectionEndpointsClient.Update` parameter(s) have been changed from `(context.Context, string, string, *DataCollectionEndpointsClientUpdateOptions)` to `(context.Context, string, string, ResourceForUpdate, *DataCollectionEndpointsClientUpdateOptions)`
      info	[Changelog] - Function `*DataCollectionEndpointsClient.Create` parameter(s) have been changed from `(context.Context, string, string, *DataCollectionEndpointsClientCreateOptions)` to `(context.Context, string, string, DataCollectionEndpointResource, *DataCollectionEndpointsClientCreateOptions)`
      info	[Changelog] - Function `*DataCollectionRulesClient.Update` parameter(s) have been changed from `(context.Context, string, string, *DataCollectionRulesClientUpdateOptions)` to `(context.Context, string, string, ResourceForUpdate, *DataCollectionRulesClientUpdateOptions)`
      info	[Changelog] - Type of `OperationStatus.Error` has been changed from `*ErrorResponseCommon` to `*ErrorDetail`
      info	[Changelog] - Type of `PrivateEndpointConnectionProperties.PrivateLinkServiceConnectionState` has been changed from `*PrivateLinkServiceConnectionStateProperty` to `*PrivateLinkServiceConnectionState`
      info	[Changelog] - Type of `PrivateEndpointConnectionProperties.PrivateEndpoint` has been changed from `*PrivateEndpointProperty` to `*PrivateEndpoint`
      info	[Changelog] - Type of `PrivateEndpointConnectionProperties.ProvisioningState` has been changed from `*string` to `*PrivateEndpointConnectionProvisioningState`
      info	[Changelog] - Function `*DiagnosticSettingsClient.List` has been removed
      info	[Changelog] - Function `*PrivateEndpointConnectionsClient.NewListByPrivateLinkScopePager` has been removed
      info	[Changelog] - Function `*DiagnosticSettingsCategoryClient.List` has been removed
      info	[Changelog] - Function `*PrivateLinkResourcesClient.NewListByPrivateLinkScopePager` has been removed
      info	[Changelog] - Struct `ErrorResponseCommon` has been removed
      info	[Changelog] - Struct `PrivateEndpointProperty` has been removed
      info	[Changelog] - Struct `PrivateLinkScopesResource` has been removed
      info	[Changelog] - Struct `PrivateLinkServiceConnectionStateProperty` has been removed
      info	[Changelog] - Struct `ProxyOnlyResource` has been removed
      info	[Changelog] - Field `Body` of struct `DataCollectionEndpointsClientUpdateOptions` has been removed
      info	[Changelog] - Field `Body` of struct `DataCollectionRulesClientUpdateOptions` has been removed
      info	[Changelog] - Field `Identity` of struct `AzureResource` has been removed
      info	[Changelog] - Field `Kind` of struct `AzureResource` has been removed
      info	[Changelog] - Field `Body` of struct `DataCollectionRuleAssociationsClientCreateOptions` has been removed
      info	[Changelog] - Field `Kind` of struct `ActionGroupResource` has been removed
      info	[Changelog] - Field `Identity` of struct `ActionGroupResource` has been removed
      info	[Changelog] - Field `Body` of struct `DataCollectionEndpointsClientCreateOptions` has been removed
      info	[Changelog] - Field `NextLink` of struct `PrivateEndpointConnectionListResult` has been removed
      info	[Changelog] - Field `NextLink` of struct `PrivateLinkResourceListResult` has been removed
      info	[Changelog] - Field `Body` of struct `DataCollectionRulesClientCreateOptions` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `PrivateEndpointServiceConnectionStatusApproved`
      info	[Changelog] - New const `PrivateEndpointConnectionProvisioningStateFailed`
      info	[Changelog] - New const `PrivateEndpointConnectionProvisioningStateDeleting`
      info	[Changelog] - New const `PredictiveAutoscalePolicyScaleModeDisabled`
      info	[Changelog] - New const `AccessModePrivateOnly`
      info	[Changelog] - New const `PredictiveAutoscalePolicyScaleModeEnabled`
      info	[Changelog] - New const `PrivateEndpointServiceConnectionStatusPending`
      info	[Changelog] - New const `PrivateEndpointConnectionProvisioningStateCreating`
      info	[Changelog] - New const `AccessModeOpen`
      info	[Changelog] - New const `PredictiveAutoscalePolicyScaleModeForecastOnly`
      info	[Changelog] - New const `PrivateEndpointServiceConnectionStatusRejected`
      info	[Changelog] - New const `PrivateEndpointConnectionProvisioningStateSucceeded`
      info	[Changelog] - New function `*PredictiveMetricClient.Get(context.Context, string, string, string, string, string, string, string, *PredictiveMetricClientGetOptions) (PredictiveMetricClientGetResponse, error)`
      info	[Changelog] - New function `PossiblePredictiveAutoscalePolicyScaleModeValues() []PredictiveAutoscalePolicyScaleMode`
      info	[Changelog] - New function `PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState`
      info	[Changelog] - New function `PossibleAccessModeValues() []AccessMode`
      info	[Changelog] - New function `*PrivateEndpointConnectionsClient.ListByPrivateLinkScope(context.Context, string, string, *PrivateEndpointConnectionsClientListByPrivateLinkScopeOptions) (PrivateEndpointConnectionsClientListByPrivateLinkScopeResponse, error)`
      info	[Changelog] - New function `NewPredictiveMetricClient(string, azcore.TokenCredential, *arm.ClientOptions) (*PredictiveMetricClient, error)`
      info	[Changelog] - New function `*DiagnosticSettingsClient.NewListPager(string, *DiagnosticSettingsClientListOptions) *runtime.Pager[DiagnosticSettingsClientListResponse]`
      info	[Changelog] - New function `*DiagnosticSettingsCategoryClient.NewListPager(string, *DiagnosticSettingsCategoryClientListOptions) *runtime.Pager[DiagnosticSettingsCategoryClientListResponse]`
      info	[Changelog] - New function `*PrivateLinkResourcesClient.ListByPrivateLinkScope(context.Context, string, string, *PrivateLinkResourcesClientListByPrivateLinkScopeOptions) (PrivateLinkResourcesClientListByPrivateLinkScopeResponse, error)`
      info	[Changelog] - New function `PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus`
      info	[Changelog] - New struct `AccessModeSettings`
      info	[Changelog] - New struct `AccessModeSettingsExclusion`
      info	[Changelog] - New struct `AutoscaleErrorResponse`
      info	[Changelog] - New struct `AutoscaleErrorResponseError`
      info	[Changelog] - New struct `DefaultErrorResponse`
      info	[Changelog] - New struct `PredictiveAutoscalePolicy`
      info	[Changelog] - New struct `PredictiveMetricClient`
      info	[Changelog] - New struct `PredictiveMetricClientGetOptions`
      info	[Changelog] - New struct `PredictiveMetricClientGetResponse`
      info	[Changelog] - New struct `PredictiveResponse`
      info	[Changelog] - New struct `PredictiveValue`
      info	[Changelog] - New struct `PrivateEndpoint`
      info	[Changelog] - New struct `PrivateLinkServiceConnectionState`
      info	[Changelog] - New struct `ProxyResourceAutoGenerated`
      info	[Changelog] - New struct `ResourceAutoGenerated`
      info	[Changelog] - New struct `ResourceAutoGenerated2`
      info	[Changelog] - New struct `ResourceAutoGenerated3`
      info	[Changelog] - New struct `ResourceAutoGenerated4`
      info	[Changelog] - New struct `TrackedResource`
      info	[Changelog] - New field `SystemData` in struct `ScopedResource`
      info	[Changelog] - New field `CategoryGroup` in struct `LogSettings`
      info	[Changelog] - New anonymous field `TestNotificationDetailsResponse` in struct `ActionGroupsClientCreateNotificationsAtActionGroupResourceLevelResponse`
      info	[Changelog] - New field `SystemData` in struct `AzureMonitorPrivateLinkScope`
      info	[Changelog] - New field `MarketplacePartnerID` in struct `DiagnosticSettings`
      info	[Changelog] - New field `SystemData` in struct `DiagnosticSettingsCategoryResource`
      info	[Changelog] - New field `SystemData` in struct `DiagnosticSettingsResource`
      info	[Changelog] - New field `AccessModeSettings` in struct `AzureMonitorPrivateLinkScopeProperties`
      info	[Changelog] - New anonymous field `TestNotificationDetailsResponse` in struct `ActionGroupsClientPostTestNotificationsResponse`
      info	[Changelog] - New field `SystemData` in struct `Resource`
      info	[Changelog] - New field `RequiredZoneNames` in struct `PrivateLinkResourceProperties`
      info	[Changelog] - New field `PredictiveAutoscalePolicy` in struct `AutoscaleSetting`
      info	[Changelog] - New field `CategoryGroups` in struct `DiagnosticSettingsCategory`
      info	[Changelog] - New field `SystemData` in struct `AutoscaleSettingResource`
      info	[Changelog] - New anonymous field `TestNotificationDetailsResponse` in struct `ActionGroupsClientCreateNotificationsAtResourceGroupLevelResponse`
      info	[Changelog]
      info	[Changelog] Total 30 breaking change(s), 75 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 3d2904e. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/arm-monitor [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 120 items here, please refer to log for details.
      info	[Changelog]   - Added Interface ActionGroupsGetTestNotificationsAtResourceGroupLevelOptionalParams
      info	[Changelog]   - Added Interface ActionGroupsPostTestNotificationsHeaders
      info	[Changelog]   - Added Interface ActionList
      info	[Changelog]   - Added Interface ActivityLogAlertsListByResourceGroupNextOptionalParams
      info	[Changelog]   - Added Interface ActivityLogAlertsListBySubscriptionIdNextOptionalParams
      info	[Changelog]   - Added Interface AlertRuleAllOfCondition
      info	[Changelog]   - Added Interface AlertRuleLeafCondition
      info	[Changelog]   - Added Interface AlertRuleList
      info	[Changelog]   - Added Interface AlertRulePatchObject
      info	[Changelog]   - Added Interface AutoscaleErrorResponse
      info	[Changelog]   - Added Interface AutoscaleErrorResponseError
      info	[Changelog]   - Added Interface AzureResourceAutoGenerated
      info	[Changelog]   - Added Interface ColumnDefinition
      info	[Changelog]   - Added Interface DataCollectionRuleAssociationsListByDataCollectionEndpointNextOptionalParams
      info	[Changelog]   - Added Interface DataCollectionRuleAssociationsListByDataCollectionEndpointOptionalParams
      info	[Changelog]   - Added Interface DefaultErrorResponse
      info	[Changelog]   - Added Interface ErrorResponseAutoGenerated
      info	[Changelog]   - Added Interface IisLogsDataSource
      info	[Changelog]   - Added Interface LogFilesDataSource
      info	[Changelog]   - Added Interface LogFileSettings
      info	[Changelog]   - Added Interface LogFileTextSettings
      info	[Changelog]   - Added Interface Metadata
      info	[Changelog]   - Added Interface PredictiveAutoscalePolicy
      info	[Changelog]   - Added Interface PredictiveMetricGetOptionalParams
      info	[Changelog]   - Added Interface PredictiveResponse
      info	[Changelog]   - Added Interface PredictiveValue
      info	[Changelog]   - Added Interface PrivateEndpoint
      info	[Changelog]   - Added Interface PrivateLinkServiceConnectionState
      info	[Changelog]   - Added Interface ResourceAutoGenerated2
      info	[Changelog]   - Added Interface ResourceAutoGenerated3
      info	[Changelog]   - Added Interface ResourceAutoGenerated4
      info	[Changelog]   - Added Interface ResourceAutoGenerated5
      info	[Changelog]   - Added Interface StreamDeclaration
      info	[Changelog]   - Added Type Alias AccessMode
      info	[Changelog]   - Added Type Alias ActionGroupsCreateNotificationsAtActionGroupResourceLevelResponse
      info	[Changelog]   - Added Type Alias ActionGroupsCreateNotificationsAtResourceGroupLevelResponse
      info	[Changelog]   - Added Type Alias ActionGroupsGetTestNotificationsAtActionGroupResourceLevelResponse
      info	[Changelog]   - Added Type Alias ActionGroupsGetTestNotificationsAtResourceGroupLevelResponse
      info	[Changelog]   - Added Type Alias ActivityLogAlertsListByResourceGroupNextResponse
      info	[Changelog]   - Added Type Alias ActivityLogAlertsListBySubscriptionIdNextResponse
      info	[Changelog]   - Added Type Alias AlertRuleAnyOfOrLeafCondition
      info	[Changelog]   - Added Type Alias DataCollectionRuleAssociationMetadata
      info	[Changelog]   - Added Type Alias DataCollectionRuleAssociationsListByDataCollectionEndpointNextResponse
      info	[Changelog]   - Added Type Alias DataCollectionRuleAssociationsListByDataCollectionEndpointResponse
      info	[Changelog]   - Added Type Alias DataCollectionRuleMetadata
      info	[Changelog]   - Added Type Alias KnownColumnDefinitionType
      info	[Changelog]   - Added Type Alias KnownLogFilesDataSourceFormat
      info	[Changelog]   - Added Type Alias KnownLogFileTextSettingsRecordStartTimestampFormat
      info	[Changelog]   - Added Type Alias LogFilesDataSourceSettings
      info	[Changelog]   - Added Type Alias LogFileSettingsText
      info	[Changelog]   - Added Type Alias PredictiveAutoscalePolicyScaleMode
      info	[Changelog]   - Added Type Alias PredictiveMetricGetResponse
      info	[Changelog]   - Added Type Alias PrivateEndpointConnectionProvisioningState
      info	[Changelog]   - Added Type Alias PrivateEndpointServiceConnectionStatus
      info	[Changelog]   - Added Type Alias ProxyResourceAutoGenerated
      info	[Changelog]   - Added Type Alias TrackedResource
      info	[Changelog]   - Interface AutoscaleSettingResourcePatch has a new optional parameter predictiveAutoscalePolicy
      info	[Changelog]   - Interface DataCollectionRule has a new optional parameter dataCollectionEndpointId
      info	[Changelog]   - Interface DataCollectionRule has a new optional parameter metadata
      info	[Changelog]   - Interface DataCollectionRule has a new optional parameter streamDeclarations
      info	[Changelog]   - Interface DataCollectionRuleAssociation has a new optional parameter metadata
      info	[Changelog]   - Interface DataCollectionRuleAssociationProxyOnlyResource has a new optional parameter metadata
      info	[Changelog]   - Interface DataCollectionRuleResource has a new optional parameter dataCollectionEndpointId
      info	[Changelog]   - Interface DataCollectionRuleResource has a new optional parameter metadata
      info	[Changelog]   - Interface DataCollectionRuleResource has a new optional parameter streamDeclarations
      info	[Changelog]   - Interface DataFlow has a new optional parameter outputStream
      info	[Changelog]   - Interface DataFlow has a new optional parameter transformKql
      info	[Changelog]   - Interface DataSourcesSpec has a new optional parameter iisLogs
      info	[Changelog]   - Interface DataSourcesSpec has a new optional parameter logFiles
      info	[Changelog]   - Interface LogSettings has a new optional parameter categoryGroup
      info	[Changelog]   - Interface Resource has a new optional parameter systemData
      info	[Changelog]   - Class MonitorClient has a new parameter predictiveMetric
      info	[Changelog]   - Add parameters of AzureResourceAutoGenerated to TypeAlias ActivityLogAlertResource
      info	[Changelog]   - Add parameters of ResourceAutoGenerated to TypeAlias AlertRuleResource
      info	[Changelog]   - Add parameters of TrackedResource to TypeAlias AzureMonitorPrivateLinkScope
      info	[Changelog]   - Add parameters of ResourceAutoGenerated3 to TypeAlias DiagnosticSettingsCategoryResource
      info	[Changelog]   - Add parameters of ResourceAutoGenerated3 to TypeAlias DiagnosticSettingsResource
      info	[Changelog]   - Add parameters of ResourceAutoGenerated2 to TypeAlias LogProfileResource
      info	[Changelog]   - Add parameters of ResourceAutoGenerated5 to TypeAlias LogSearchRuleResource
      info	[Changelog]   - Add parameters of ResourceAutoGenerated4 to TypeAlias MetricAlertResource
      info	[Changelog]   - Add parameters of ResourceAutoGenerated3 to TypeAlias PrivateEndpointConnection
      info	[Changelog]   - Add parameters of ResourceAutoGenerated3 to TypeAlias PrivateLinkResource
      info	[Changelog]   - Add parameters of ProxyResourceAutoGenerated to TypeAlias ScopedResource
      info	[Changelog]   - Type Alias AutoscaleSettingResource has a new parameter predictiveAutoscalePolicy
      info	[Changelog]   - Type Alias AzureMonitorPrivateLinkScope has a new parameter systemData
      info	[Changelog]   - Type Alias DiagnosticSettingsCategoryResource has a new parameter systemData
      info	[Changelog]   - Type Alias DiagnosticSettingsCategoryResource has a new parameter categoryGroups
      info	[Changelog]   - Type Alias DiagnosticSettingsResource has a new parameter systemData
      info	[Changelog]   - Type Alias DiagnosticSettingsResource has a new parameter marketplacePartnerId
      info	[Changelog]   - Type Alias PrivateLinkResource has a new parameter requiredZoneNames
      info	[Changelog]   - Type Alias ScopedResource has a new parameter systemData
      info	[Changelog]   - Added Enum KnownAccessMode
      info	[Changelog]   - Added Enum KnownCategoryType
      info	[Changelog]   - Added Enum KnownKnownColumnDefinitionType
      info	[Changelog]   - Added Enum KnownKnownLogFilesDataSourceFormat
      info	[Changelog]   - Added Enum KnownKnownLogFileTextSettingsRecordStartTimestampFormat
      info	[Changelog]   - Added Enum KnownPrivateEndpointConnectionProvisioningState
      info	[Changelog]   - Added Enum KnownPrivateEndpointServiceConnectionStatus
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Operation ActivityLogAlerts.update has a new signature
      info	[Changelog]   - Interface AzureResource no longer has parameter identity
      info	[Changelog]   - Interface AzureResource no longer has parameter kind
      info	[Changelog]   - Interface PrivateEndpointConnectionListResult no longer has parameter nextLink
      info	[Changelog]   - Interface PrivateLinkResourceListResult no longer has parameter nextLink
      info	[Changelog]   - Interface ResourceAutoGenerated no longer has parameter etag
      info	[Changelog]   - Interface ResourceAutoGenerated no longer has parameter kind
      info	[Changelog]   - Delete parameters of Resource in TypeAlias ActivityLogAlertResource
      info	[Changelog]   - Delete parameters of Resource in TypeAlias AlertRuleResource
      info	[Changelog]   - Delete parameters of PrivateLinkScopesResource in TypeAlias AzureMonitorPrivateLinkScope
      info	[Changelog]   - Delete parameters of ProxyOnlyResource in TypeAlias DiagnosticSettingsCategoryResource
      info	[Changelog]   - Delete parameters of ProxyOnlyResource in TypeAlias DiagnosticSettingsResource
      info	[Changelog]   - Delete parameters of Resource in TypeAlias LogProfileResource
      info	[Changelog]   - Delete parameters of ResourceAutoGenerated in TypeAlias LogSearchRuleResource
      info	[Changelog]   - Delete parameters of Resource in TypeAlias MetricAlertResource
      info	[Changelog]   - Delete parameters of ProxyResource in TypeAlias PrivateEndpointConnection
      info	[Changelog]   - Delete parameters of ProxyResource in TypeAlias PrivateLinkResource
      info	[Changelog]   - Delete parameters of ProxyResource in TypeAlias ScopedResource
      info	[Changelog]   - Type Alias AzureMonitorPrivateLinkScope has a new parameter accessModeSettings
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 3d2904e. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh] WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    • ️✔️monitor [View full logs]  [Release Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from 3d2904e. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    • Az.monitor [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @ArcturusZhang, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    @thomasp98296
    Copy link
    Contributor

    Microsoft.Insights/stable/2022-06-01/actionGroups_API.json reference looks good. Signoff.

    @tadelesh tadelesh added the Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go label Jul 28, 2022
    @ArcturusZhang
    Copy link
    Member Author

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @qiaozha
    Copy link
    Member

    qiaozha commented Jul 28, 2022

    merge it as All SDK generations are passing.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    5 participants